//
//  DestinationCollectionReusableView.m
//  God_is_a_Girl
//
//  Created by dllo on 15/9/24.
//  Copyright (c) 2015年 呸. All rights reserved.
//

#import "DestinationCollectionReusableView.h"

@implementation DestinationCollectionReusableView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.title = [[UILabel alloc] init];
        [self addSubview:self.title];
        
    }
    return self;
}

-(void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes

{
    self.title.frame = CGRectMake(10, 10, self.frame.size.width, 15);
    self.title.font = [UIFont  systemFontOfSize:15];
    
}

-(void)setModel:(DestinationModel *)model
{
    
    self.title.text = [NSString  stringWithFormat:@"💧%@",model.title];
    
}












@end
